﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Configuration;

namespace DownOrderApplication
{
    public class TaskClass
    {
        public TaskClass() { }

        public void Run(string taskType)
        {
            switch (taskType)
            {
                case "Main":
                    DownOrderToERP();
                    break;
                case "Refund":
                    DoRefundOrder();
                    break;
                case "SendGoods":
                    DoSendGoods();
                    break;
                case "OutStock":
                    OutStockFormERP();
                    break;
                case "Member":
                    GetVipMember();
                    break;
                case "Move":
                    MoveAllOrderData();
                    break;
                case "StockNum":
                    UpdateStockNum();
                    break;
            }           
        }
        
        protected void DownOrderToERP()
        {
          
        }
        protected void DoRefundOrder()
        {
           
        }
        protected void DoSendGoods()
        {
           
        }
        protected void OutStockFormERP()
        {
           
        }
        protected void GetVipMember()
        {
          
        }
        protected void MoveAllOrderData()
        {
          
        }
        protected void UpdateStockNum()
        {
           
        }
        protected void UpdateTMallMemo()
        {
          
        }
    }
}
